<?php
/**
 * Created by PhpStorm.
 * User: zhj
 * Date: 2019/3/29
 * Time: 18:01
 */

namespace app\factory;

class Object
{
    public static function getBMWClass()
    {
        return (new BMW());
    }

    public static function getAudiClass()
    {
        return (new Audi());
    }

    public static function getRandRoverClass()
    {
        return (new RandRover());
    }

}